#pragma once

class Board;

class Utils {
public:
	static int winner_definite(const Board & board);

	static int winner(const Board & board);

	static std::pair<int, int> first_available_move(const Board & board);

	static bool is_loser_td(const Board & board, int to_play);

	static void fill_captured_and_dead(Board & board);

	static Board load_board_from_file(const std::string & filename);

	static void print_board(const Board & board);
};